package com.drg.center.entity.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.guaike.core.entity.annotation.ConditionBy;
import com.guaike.core.entity.param.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/14
 */
@Data
@ApiModel("医保总额预付统计入参DTO")
public class MedicalTotalDTO extends Page {

    @ApiModelProperty("险种")
    private Integer coverage;

    @ApiModelProperty("开始日期")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @ApiModelProperty("结束日期")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
}
